<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: Aws::Crt::Mqtt Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAws.html">Aws</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt.html">Crt</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html">Mqtt</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a>  </div>
  <div class="headertitle">
<div class="title">Aws::Crt::Mqtt Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttClient.html">MqttClient</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAws_1_1Crt_1_1Mqtt_1_1MultiSubAckCallbackData.html">MultiSubAckCallbackData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAws_1_1Crt_1_1Mqtt_1_1OpCompleteCallbackData.html">OpCompleteCallbackData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAws_1_1Crt_1_1Mqtt_1_1PubCallbackData.html">PubCallbackData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAws_1_1Crt_1_1Mqtt_1_1SubAckCallbackData.html">SubAckCallbackData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a4f836d0b80ada1251f643bf357b0fc60"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a4f836d0b80ada1251f643bf357b0fc60">OnConnectionInterruptedHandler</a> = std::function&lt; void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, int <a class="el" href="structerror.html">error</a>)&gt;</td></tr>
<tr class="separator:a4f836d0b80ada1251f643bf357b0fc60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43028af232c9cf8c5a34da986d9afa06"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a43028af232c9cf8c5a34da986d9afa06">OnConnectionResumedHandler</a> = std::function&lt; void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#ac27f3ee931e088bb234da384b2a13617">ReturnCode</a> connectCode, bool sessionPresent)&gt;</td></tr>
<tr class="separator:a43028af232c9cf8c5a34da986d9afa06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef2f7258854ef807340164783747a936"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#aef2f7258854ef807340164783747a936">OnConnectionCompletedHandler</a> = std::function&lt; void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, int errorCode, <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#ac27f3ee931e088bb234da384b2a13617">ReturnCode</a> returnCode, bool sessionPresent)&gt;</td></tr>
<tr class="separator:aef2f7258854ef807340164783747a936"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedc46fe650f31ca76c9b045a45258ffc"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#aedc46fe650f31ca76c9b045a45258ffc">OnSubAckHandler</a> = std::function&lt; void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, uint16_t packetId, const <a class="el" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a> &amp;topic, <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a73e44d9ab196e11a9732981690ac5423">QOS</a> qos, int errorCode)&gt;</td></tr>
<tr class="separator:aedc46fe650f31ca76c9b045a45258ffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a114f4b34cc46025478d479beaacc53ff"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a114f4b34cc46025478d479beaacc53ff">OnMultiSubAckHandler</a> = std::function&lt; void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, uint16_t packetId, const <a class="el" href="namespaceAws_1_1Crt.html#ac975615d2a9140660077ef7b264d9b6c">Vector</a>&lt; <a class="el" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a> &gt; &amp;topics, <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a73e44d9ab196e11a9732981690ac5423">QOS</a> qos, int errorCode)&gt;</td></tr>
<tr class="separator:a114f4b34cc46025478d479beaacc53ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0e931986cc3e616c6adf935d760ecb0"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#aa0e931986cc3e616c6adf935d760ecb0">OnDisconnectHandler</a> = std::function&lt; void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection)&gt;</td></tr>
<tr class="separator:aa0e931986cc3e616c6adf935d760ecb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c45cd45103957d38303f03f37d251e2"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a4c45cd45103957d38303f03f37d251e2">OnPublishReceivedHandler</a> = std::function&lt; void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, const <a class="el" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a> &amp;topic, const <a class="el" href="namespaceAws_1_1Crt.html#aa760a7d9714d6c28091c2b1cf7029876">ByteBuf</a> &amp;payload)&gt;</td></tr>
<tr class="separator:a4c45cd45103957d38303f03f37d251e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44fc5120bbbe950dc76488128259b18f"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a44fc5120bbbe950dc76488128259b18f">OnOperationCompleteHandler</a> = std::function&lt; void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, uint16_t packetId, int errorCode)&gt;</td></tr>
<tr class="separator:a44fc5120bbbe950dc76488128259b18f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d9638829a60d2c9961d7b789cebcb42"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a5d9638829a60d2c9961d7b789cebcb42">OnWebSocketHandshakeInterceptComplete</a> = std::function&lt; void(const std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpRequest.html">Http::HttpRequest</a> &gt; &amp;, int errorCode)&gt;</td></tr>
<tr class="separator:a5d9638829a60d2c9961d7b789cebcb42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a164f0b4ae6ab32eae4125e685349a8d1"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a164f0b4ae6ab32eae4125e685349a8d1">OnWebSocketHandshakeIntercept</a> = std::function&lt; void(std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpRequest.html">Http::HttpRequest</a> &gt; req, const <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a5d9638829a60d2c9961d7b789cebcb42">OnWebSocketHandshakeInterceptComplete</a> &amp;onComplete)&gt;</td></tr>
<tr class="separator:a164f0b4ae6ab32eae4125e685349a8d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73e44d9ab196e11a9732981690ac5423"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a73e44d9ab196e11a9732981690ac5423">QOS</a> = aws_mqtt_qos</td></tr>
<tr class="separator:a73e44d9ab196e11a9732981690ac5423"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac27f3ee931e088bb234da384b2a13617"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#ac27f3ee931e088bb234da384b2a13617">ReturnCode</a> = aws_mqtt_connect_return_code</td></tr>
<tr class="separator:ac27f3ee931e088bb234da384b2a13617"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="aef2f7258854ef807340164783747a936"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef2f7258854ef807340164783747a936">&#9670;&nbsp;</a></span>OnConnectionCompletedHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#aef2f7258854ef807340164783747a936">Aws::Crt::Mqtt::OnConnectionCompletedHandler</a> = typedef std::function&lt; void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, int errorCode, <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#ac27f3ee931e088bb234da384b2a13617">ReturnCode</a> returnCode, bool sessionPresent)&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Invoked when a connack message is received, or an error occurred. </p>

</div>
</div>
<a id="a4f836d0b80ada1251f643bf357b0fc60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f836d0b80ada1251f643bf357b0fc60">&#9670;&nbsp;</a></span>OnConnectionInterruptedHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a4f836d0b80ada1251f643bf357b0fc60">Aws::Crt::Mqtt::OnConnectionInterruptedHandler</a> = typedef std::function&lt;void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, int <a class="el" href="structerror.html">error</a>)&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Invoked Upon Connection loss. </p>

</div>
</div>
<a id="a43028af232c9cf8c5a34da986d9afa06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43028af232c9cf8c5a34da986d9afa06">&#9670;&nbsp;</a></span>OnConnectionResumedHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a43028af232c9cf8c5a34da986d9afa06">Aws::Crt::Mqtt::OnConnectionResumedHandler</a> = typedef std::function&lt;void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#ac27f3ee931e088bb234da384b2a13617">ReturnCode</a> connectCode, bool sessionPresent)&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Invoked Upon Connection resumed. </p>

</div>
</div>
<a id="aa0e931986cc3e616c6adf935d760ecb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0e931986cc3e616c6adf935d760ecb0">&#9670;&nbsp;</a></span>OnDisconnectHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#aa0e931986cc3e616c6adf935d760ecb0">Aws::Crt::Mqtt::OnDisconnectHandler</a> = typedef std::function&lt;void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection)&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Invoked when a disconnect message has been sent. </p>

</div>
</div>
<a id="a114f4b34cc46025478d479beaacc53ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a114f4b34cc46025478d479beaacc53ff">&#9670;&nbsp;</a></span>OnMultiSubAckHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a114f4b34cc46025478d479beaacc53ff">Aws::Crt::Mqtt::OnMultiSubAckHandler</a> = typedef std::function&lt;void( <a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, uint16_t packetId, const <a class="el" href="namespaceAws_1_1Crt.html#ac975615d2a9140660077ef7b264d9b6c">Vector</a>&lt;<a class="el" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a>&gt; &amp;topics, <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a73e44d9ab196e11a9732981690ac5423">QOS</a> qos, int errorCode)&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Invoked when a suback message for multiple topics is received. </p>

</div>
</div>
<a id="a44fc5120bbbe950dc76488128259b18f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44fc5120bbbe950dc76488128259b18f">&#9670;&nbsp;</a></span>OnOperationCompleteHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a44fc5120bbbe950dc76488128259b18f">Aws::Crt::Mqtt::OnOperationCompleteHandler</a> = typedef std::function&lt;void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, uint16_t packetId, int errorCode)&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4c45cd45103957d38303f03f37d251e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c45cd45103957d38303f03f37d251e2">&#9670;&nbsp;</a></span>OnPublishReceivedHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a4c45cd45103957d38303f03f37d251e2">Aws::Crt::Mqtt::OnPublishReceivedHandler</a> = typedef std::function&lt;void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, const <a class="el" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a> &amp;topic, const <a class="el" href="namespaceAws_1_1Crt.html#aa760a7d9714d6c28091c2b1cf7029876">ByteBuf</a> &amp;payload)&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Invoked upon receipt of a Publish message on a subscribed topic. </p>

</div>
</div>
<a id="aedc46fe650f31ca76c9b045a45258ffc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aedc46fe650f31ca76c9b045a45258ffc">&#9670;&nbsp;</a></span>OnSubAckHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#aedc46fe650f31ca76c9b045a45258ffc">Aws::Crt::Mqtt::OnSubAckHandler</a> = typedef std::function&lt; void(<a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">MqttConnection</a> &amp;connection, uint16_t packetId, const <a class="el" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a> &amp;topic, <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a73e44d9ab196e11a9732981690ac5423">QOS</a> qos, int errorCode)&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Invoked when a suback message is received. </p>

</div>
</div>
<a id="a164f0b4ae6ab32eae4125e685349a8d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a164f0b4ae6ab32eae4125e685349a8d1">&#9670;&nbsp;</a></span>OnWebSocketHandshakeIntercept</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a164f0b4ae6ab32eae4125e685349a8d1">Aws::Crt::Mqtt::OnWebSocketHandshakeIntercept</a> = typedef std::function&lt; void(std::shared_ptr&lt;<a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpRequest.html">Http::HttpRequest</a>&gt; req, const <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a5d9638829a60d2c9961d7b789cebcb42">OnWebSocketHandshakeInterceptComplete</a> &amp;onComplete)&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Invoked during websocket handshake to give users opportunity to transform an http request for purposes such as signing/authorization etc... Returning from this function does not continue the websocket handshake since some work flows may be asynchronous. To accommodate that, onComplete must be invoked upon completion of the signing process. </p>

</div>
</div>
<a id="a5d9638829a60d2c9961d7b789cebcb42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d9638829a60d2c9961d7b789cebcb42">&#9670;&nbsp;</a></span>OnWebSocketHandshakeInterceptComplete</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a5d9638829a60d2c9961d7b789cebcb42">Aws::Crt::Mqtt::OnWebSocketHandshakeInterceptComplete</a> = typedef std::function&lt;void(const std::shared_ptr&lt;<a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpRequest.html">Http::HttpRequest</a>&gt; &amp;, int errorCode)&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Callback for users to invoke upon completion of, presumably asynchronous, OnWebSocketHandshakeIntercept callback's initiated process. </p>

</div>
</div>
<a id="a73e44d9ab196e11a9732981690ac5423"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73e44d9ab196e11a9732981690ac5423">&#9670;&nbsp;</a></span>QOS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a73e44d9ab196e11a9732981690ac5423">Aws::Crt::Mqtt::QOS</a> = typedef aws_mqtt_qos</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac27f3ee931e088bb234da384b2a13617"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac27f3ee931e088bb234da384b2a13617">&#9670;&nbsp;</a></span>ReturnCode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#ac27f3ee931e088bb234da384b2a13617">Aws::Crt::Mqtt::ReturnCode</a> = typedef aws_mqtt_connect_return_code</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
